import Login from '@/components/business/login'
import Register from '@/components/business/register'
import BusinessIndex from '@/components/business/index'
import Profile from '@/components/business/profile'
import About from '@/components/business/about'
import Consumlist from '@/components/business/consum'

export default [
    {
        path: 'login',
        name: 'Login',
        component: Login,
    },
    {
        path: 'register',
        name: 'Register',
        component: Register,
    },
    {
        path: 'index',
        name: 'BusinessIndex',
        component: BusinessIndex,
        auth: true, //校验用户是否登陆
    },
    {
        path: 'profile',
        name: 'Profile',
        component: Profile,
        auth: true,
    },
    {
        path: 'about',
        name: 'About',
        component: About,
    },
    {
        path: 'consum',
        name: 'Consumlist',
        component: Consumlist,
        auth: true, //校验用户是否登陆
    }
]